<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link href="https://cdn.bootcss.com/font-awesome/5.8.2/css/all.min.css" rel="stylesheet" />
    <style>
      .pre-loading {
        margin: 200px auto;
        width: 200px;
      }

      .loading-text {
        text-align: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 24px;
      }

      .loading-animate {
        height: 100px;
        text-align: center;
      }

      .loading-animate > div {
        background-color: #006997;
        height: 100%;
        width: 10px;
        display: inline-block;
        animation: stretchdelay 1.2s ease-in-out infinite;
        -webkit-animation: stretchdelay 1.2s ease-in-out infinite;
      }

      .loading-animate > .rect2 {
        animation-delay: -1.1s;
        -webkit-animation-delay: -1.1s;
      }

      .loading-animate > .rect3 {
        animation-delay: -1s;
        -webkit-animation-delay: -1s;
      }

      .loading-animate > .rect4 {
        animation-delay: -0.9s;
        -webkit-animation-delay: -0.9s;
      }

      .loading-animate > .rect5 {
        animation-delay: -0.8s;
        -webkit-animation-delay: -0.8s;
      }

      .loading-animate > .rect6 {
        animation-delay: -0.7s;
        -webkit-animation-delay: -0.7s;
      }

      @-webkit-keyframes stretchdelay {
        0%,
        40%,
        100% {
          transform: scaleY(0.4);
          -webkit-transform: scaleY(0.4);
        }
        20% {
          transform: scaleY(1);
          -webkit-transform: scaleY(1);
        }
      }

      @keyframes stretchdelay {
        0%,
        40%,
        100% {
          transform: scaleY(0.4);
          -webkit-transform: scaleY(0.4);
        }
        20% {
          transform: scaleY(1);
          -webkit-transform: scaleY(1);
        }
      }
    </style>
  </head>
  <body>
    <div id="root" class="root"></div>
    <div id="pre-loading" class="pre-loading">
      <div class="loading-animate">
        <div class="rect1"></div>
        <div class="rect2"></div>
        <div class="rect3"></div>
        <div class="rect4"></div>
        <div class="rect5"></div>
        <div class="rect6"></div>
      </div>
      <p class="loading-text">系统加载中...</p>
    </div>
  </body>
</html>
